package com.example.zuoye.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Liked implements Serializable {
    private Integer id; //主键
    private String objId; // 对应对象的id
    private String userId; // 点赞用户的id
    private Integer likeStatus; // 点赞状态 0:取消赞 1:已赞

    public Liked() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getObjId() {
        return objId;
    }

    public void setObjId(String objId) {
        this.objId = objId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getLikeStatus() {
        return likeStatus;
    }

    public void setLikeStatus(Integer likeStatus) {
        this.likeStatus = likeStatus;
    }
}
